<?php

/* Portal Pracy - praca magisterska
 * autor: Tomek Ceszke
 * email: tomek.ceszke@gmail.com
 * Politechnika Koszalińska 2007
 */

class Permission extends AppModel
{
	var $name = 'Permission';
	
	var $hasAndBelongsToMany = array
	(
		'Group' => array
		(
			'className' => 'Group',
			'joinTable' => 'groups_permissions',
			'foreignKey' => 'permission_id',
			'associationForeignKey'=>'group_id'
		)
	);
}
?>